﻿using EFCore.Sharding;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Util.Primitives
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class ExpandByDateModeTypeAttribute : Attribute
    {
        public ExpandByDateModeTypeAttribute(ExpandByDateMode mode)
        {
            Mode = mode;
        }

        //private ExpandByDateMode _Mode = ExpandByDateMode.PerMonth;
        private ExpandByDateMode _Mode = ExpandByDateMode.PerMinute;
        public ExpandByDateMode Mode
        {
            get { return _Mode; }
            set { _Mode = value; }
        }
    }
}
